package com.example.demo.dto

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

data class NursingClassDo(

        @get: NotBlank(message = "title不能为空")
        @ApiModelProperty(value = "title")
        var title: String = "",

        @get: NotBlank(message = "bgcolor不能为空")
        @ApiModelProperty(value = "bgcolor")
        var bgcolor: String,

        @get: NotBlank(message = "fontcolor不能为空")
        @ApiModelProperty(value = "fontcolor")
        var fontcolor: String,

//        @get: NotBlank(message = "id不能为空")
        @ApiModelProperty(value = "id")
        var id: Int? = 0

)